<template>
  <div class="cleanDetails-content">
    <div class="cleanDetailsBox">
      <div class="header">查看清洁记录</div>
      <preparation />
      <cleaningRecord />
      <disinfectionRecord />
      <div class="footer-btn">
        <el-button class="btn" @click="goBackBtn">返回</el-button>
      </div>
    </div>
  </div>
</template>

<script>
import preparation from "./components/preparation.vue";
import cleaningRecord from "./components/cleaningRecord.vue";
import disinfectionRecord from "./components/disinfectionRecord.vue";
export default {
  components: { preparation, cleaningRecord, disinfectionRecord },
  data() {
    return {};
  },
  created() {
      
  },
  methods: {
    goBackBtn() {
      this.$router.back();
    },
  },
};
</script>
<style lang="scss" scoped>
.display-fx-center {
  display: flex;
  align-items: center;
}
.cleanDetails-content {
  overflow-y: auto;
  position: relative;
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 10px;
  height: calc(100vh - 66px - 128px);
  .cleanDetailsBox {
    max-width: 930px;
    margin: 0 auto;
    padding-bottom: 40px;
  }
  .header {
    font-size: 22px;
    font-weight: bold;
    color: #484848;
    text-align: center;
  }
  .txt1 {
    font-size: 12px;
    color: #797c84;
    @extend .display-fx-center;
    justify-content: center;
    margin: 20px 0;
    .line {
      border-left: solid 1px #797c84;
      height: 12px;
      margin: 0 6px 0 6px;
      position: relative;
      top: 1px;
    }
  }
}
.footer-btn {
  width: 100%;
  background: #ffffff;
  height: 78px;
  position: fixed;
  bottom: 0;
  right: 0;
  .btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }
}
</style>
